<div class="box-body table-responsive">
    <table class="table table-bordered table-hover">
        <tr>
            <th>时间</th>
            <th>类型</th>
            <th>分值</th>
        </tr>
        {volist name="$list" id="v"}
        <tr>
            <td>{:date('Ym',$v.create_time)}</td>
            <td>
                {if condition="$v.leave_type eq 1"}
                事假
                {elseif condition="$v.leave_type eq 2"}
                病假
                {elseif condition="$v.leave_type eq 3"}
                其他
                {else"}
                全勤
                {/if}
            </td>
            <td>
                {$v.integral_b}
            </td>
        </tr>
        {/volist}
    </table>
</div>
